using System;

namespace LongestCommonPrefix
{
    class Program
    {
        static void Main(string[] args)
        {
            var strs = new string[]
            {
                "ab", "a"
            };

            Console.WriteLine(new Solution().LongestCommonPrefix(strs));
        }
    }
}